package com.vhall.component.service.sign.service;

import com.vhall.component.entity.sign.vo.SignRecordPageVO;

/**
 * 签到service
 *
 * @author shenghua.luo
 */
public interface SignInnerService {

    /**
     * 分页查询所有签到的人
     *
     * @param roomId
     * @param startDateTime
     * @param page
     * @param pageSize
     * @param queryAllCount 是否查总数
     * @return
     */
    SignRecordPageVO<Integer> selectSignAfterLiveStart(String roomId, String startDateTime, int page, int pageSize, boolean queryAllCount);

    /**
     * count查询开播后的签到人数
     *
     * @param roomId        房间id
     * @param startDateTime 开始时间
     * @return
     */
    Integer countPartakeTotalAfterLiveStart(String roomId, String startDateTime);
}
